package com.bdqn.qnnews.schedule.api.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 延时任务数据对象
 * @author xlzhang
 */
@Data
@Schema(name = "TaskDto 对象", description = "用于存储每个任务的数据")
public class TaskDto{
    
    @Schema(description = "任务id")
    private Long taskId;
    
    @Schema(description = "类型")
    private Integer taskTopic;
    
    @Schema(description = "执行时间，这里保存的是日期的时间搓（毫秒值）")
    private long executeTime;
    
    @Schema(description = "task参数")
    private String parameters;
}